<?php

namespace App\Providers;

use App\Models\Gifts;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Gifts::created(function ($gifts) { info('----------'); return false; });
        //DB::listen(function ($query) { info([$query->sql,$query->bindings,$query->time]); });;
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}
